package orchestration.android.execution.commands;

import orchestration.android.RunExecutionActivity;
/**
 * Interface used to define commands executed by the RunExecutionActivity
 * @author <a href="mailto:car.ferrarini@gmail.com">Carlo Ferrarini</a>
 *
 */
public interface AndroidOrchestrationCommand {
	/**
	 * Executes the command
	 * @param rea a reference to the activity that executes the command
	 */
	public void execute(RunExecutionActivity rea);
	/**
	 * 
	 * @return an Identifier for the {@link AndroidOrchestrationCommand}.
	 * Useful to save the state of a component and re-create it later
	 */
	public int getId();
}
